<%@ page contentType="text/html; charset=gbk" language="java" session="false" %>
<%

	Integer serverClickCount1 = (Integer)application.getAttribute( "serverClickCount1" );
	Integer serverClickCount2 = (Integer)application.getAttribute( "serverClickCount2" );
	if( serverClickCount1 == null ) serverClickCount1 = new Integer(0);
	if( serverClickCount2 == null ) serverClickCount2 = new Integer(0);
	
	String server = request.getParameter( "server" );
	if( server != null && "1".equals( server ) ){
		serverClickCount1 = new Integer( serverClickCount1.intValue() + 1 );
		response.sendRedirect( "http://10.1.18.3:8081" );
	}
	if( server != null && "2".equals( server ) ){
		serverClickCount2 = new Integer( serverClickCount2.intValue() + 1 );
		response.sendRedirect( "http://10.1.18.3:8083" );
	}
	
	application.setAttribute( "serverClickCount1",serverClickCount1 );
	application.setAttribute( "serverClickCount2",serverClickCount2 );
	
	
	
%>